/*
 * Created on May 3, 2004 by mreynolds
 */
package cn.com.sd.common.util;

import org.apache.commons.collections.Transformer;


/**
 * Copyright &copy;2004 Integral7, Inc.  All rights reserved.
 * @author boardman
 * @version $Header: /usr/local/cvsroot/pueblo/src/com/integral7/util/ToUpperTransformer.java,v 1.4 2006/04/11 19:18:42 kkokal Exp $
 */
public class ToStringTransformer implements Transformer {

    /**
     * no-arg constructor
     */
    public ToStringTransformer() {
        super();
    }

    /**
     * converts the incoming string to uppercase
     * @see org.apache.commons.collections.Transformer#transform(java.lang.Object)
     */
    public Object transform( Object arg0 ) {
        if(arg0!=null){
            return arg0.toString();
        }
        return arg0;
    }
}
